<div class="pageHeader">
	<form id="pagerForm" onsubmit="return navTabSearch(this);" method="post">
		<#include "../include_page/paramters.html"/>
		<div class="searchBar">
			<ul class="searchContent">
				<li>
					<label>用户:</label>
					<input type="text" name="appId" value="${appId!}" />
				</li>
			</ul>
			<div class="subBar">
				<ul>
					<li>
						<button type="submit" class="buttonActive">搜索</button>
					</li>
				</ul>
			</div>
		</div>
	</form>
</div>
<div class="pageContent">
	<div class="panelBar">
		<ul class="toolBar">
			<li><a href="sysAppToken/delete.do?id={sid}" title="确定要删除该条记录吗?" target="ajaxTodo"><i class="icon-trash icon-large"></i> 删除</a></li>
		</ul>
	</div>
<@_sysAppTokenList appId=appId pageIndex=pageNum count=numPerPage>
	<table class="list" width="100%" layoutH="92">
		<thead>
			<tr>
				<th>AppID</th>
				<th>渠道</th>
				<th>授权码</th>
				<th>授权日期</th>
			</tr>
		</thead>
		<tbody>
			<#list page.list as a>
				<@t.merge 'appIds' a.appId!/>
			</#list>
			<@_sysApp ids=t.appIds!><#assign appMap=map!/></@_sysApp>
			
			<#list page.list as a>
			<tr target="sid" rel="${a.appId}">
				<td>${a.appId!}</td>
				<td>${(appMap[a.userId?string].channel)!}</td>
				<td>${a.createDate!}</td>
			</tr>
			</#list>
		</tbody>
	</table>
	<#include "../include_page/page.html"/>
</@_sysAppTokenList>
</div>